<html>
    <head>
        <meta charset="utf-8">
        <!-- qq 登录验证代码 -->
        <meta property="qc:admins" content="1240247177654645166375" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes">
        <!-- 百度验证 -->
        <meta name="baidu-site-verification" content="LfljiG9q9s" />
        <meta name="keywords" content="律团、免费咨询、找律师、问律师、法律文书、定向咨询、法律顾问、创业法律服务">
	    <meta name="description" content="律团是一个借助移动端而建、致力于为广大用户和中小微企业提供专业法律服务的互联网+法律电商平台。免费法律咨询、付费定向咨询、法律文书下载、企业法律顾问……律团根据客户不同层次的法律需求，匹配法律服务资源，开发出一整套服务收费标准化、服务内容标准化、服务流程标准化、服务质量标准化的产品，为用户和中小微企业提供专业的综合法律服务。">
	    <meta property="qc:admins" content="1240247177654645166375" />
	    <meta property="wb:webmaster" content="1de2d1015f5cd617" />
	    <script>
			var _hmt = _hmt || [];
			(function() {
			  var hm = document.createElement("script");
			  hm.src = "//hm.baidu.com/hm.js?3ab9b1459917c8433cae09f20a2533a2";
			  var s = document.getElementsByTagName("script")[0]; 
			  s.parentNode.insertBefore(hm, s);
			})();
		</script>
	    <link rel="shortcut icon" href="{{ Config::get('app.url') }}/img/lvtuan.ico">
		<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=3443617967" type="text/javascript" charset="utf-8"></script>
	    <title>
        @section('title') - 我的律团网
        @show
        </title>
    </head>
    {{ HTML::script('lib/js/pingpp-pc.js') }}
    {{ HTML::style('css/comm.css')}} 
	{{ HTML::script('js/jquery-1.7.2.min.js') }}
	{{ HTML::script('js/tokenAnalysis.js') }}

    <body>
    <!-- 导航 -->
<div class="h5-width">
   <div class="h5-width-lg">
       <div class="h5-logo"><a href="{{ Route('home.index') }}" title="我的律团网" ></a></div>
       <div class="h5-menu">
       	<ul>
       		<li><a href="{{ Route('home.index') }}" class=" @if (Route::is('home.index') || Route::is('index')) hover @endif ">首页</a></li>
       		<li><a class="@if (Route::is('question.search') || Route::is('lawyer.text_view') || Route::is('lawyer.phone_view')) hover @endif">法律咨询
       			<!--<span class="fdd-jt-bg "></span>-->
       			</a>            	
	           <dl>
		           <dd><a href="{{ Route('question.search') }}">免费咨询</a></dd>
		           <dd><a href="{{ Route('lawyer.text_view') }}" class="bottom">一对一咨询</a></dd>
	           </dl>
            </li>
       		<li><a href="{{ Route('store.adviser1') }}" class="@if (Route::is('store.adviser1') || Route::is('store.adviser2') || Route::is('store.adviser3')) hover @endif">法律顾问</a></li>
       		<li><a href="{{ Route('knowledge.document') }}" class="@if (Route::is('knowledge.document')) hover @endif">免费下载法律文书</a></li>
       		<li><a href="{{ Route('news.list') }}" class="@if (Route::is('news.list')) hover @endif">法律资讯</a></li>
       		<li><a href="{{ Route('home.aboutlv') }}" class="@if (Route::is('home.aboutlv')) hover @endif">关于我们</a></li>
       		<li><a href="{{ Route('home.helper') }}" class="@if (Route::is('home.helper')) hover @endif">帮助中心</a></li>
       </ul>
       </div>
       <div class="h5-help">
       		@if(Auth::check())
				@if(Auth::user()->isVerifiedLawyer())
				 <div id="jq-personal" class="login-register-info">
				 	<a class="lvEntrance" href="{{ Route('center.lawyer.main')}}">律师入口</a>
				 	<a href="@if (Auth::user()->isVerifiedLawyer()) {{route('center.lawyer.info')}} @else {{route('center.customer.info')}} @endif">
				 	@if(Auth::user()->nikname)
				 		{{ Auth::user()->nikname }}
				 	@else
				 		匿名用户
				 	@endif
				 	</a>
				 	<a class="logout" href="javascript:void(0);" title="退出">退出</a>
		        </div>
		        @else
				 <div id="jq-personal" class="login-register-info">
					@if(!Auth::user()->isPendingVerification())
				    <a class="lvEntrance" href="{{ Route('center.customer.become_lawyer')}}">律师入口</a>
			        @endif
			        <a href="@if (Auth::user()->isVerifiedLawyer()) {{route('center.lawyer.info')}} @else {{route('center.customer.info')}} @endif">
			        @if(Auth::user()->nikname)
				 		{{ Auth::user()->nikname }}
				 	@else
				 		匿名用户
				 	@endif
			        </a>
				 	<a class="logout" href="javascript:void(0);" title="退出">退出</a>
		        </div>
		        
		        @endif
			@else	
				@if (!Route::is('home.register') && !Route::is('home.login'))
				<div id="jq-lgoregi" class="lgoregi">
					<a class="lvEntrance lv-entrance" href="javascript:void(0);">律师入口</a>
					<a id="jq-logo" class="loginPopup" href="javascript:void(0);" title="登录">登录</a>
					<a id="jq-register" href="{{ route('home.register') }}" title="注册">注册</a>
				</div>
				@endif
			@endif
       </div>
   </div>
</div>
<script>
function setActive(index){
	var a = $('.h5-menu ul').find('li').eq(index).find('a').eq(0).addClass('hover');
	a.parent().siblings('li').find('a').removeClass('hover');
}
</script>
	<div class="nav-top-margin"></div>
	<div id="layerloginregister" style="display:none;"></div>
	
      @yield('content')
      
    
	<div class="site-footer" id="site-footer" style="background: #1d1f20;">
     	<div class="container" >
     		<div class="fdd-bottom" >
				<div class="fdd-bottom-center">
					<div class="fdd-bottom-icon">
						<ul>
							<li><span>客服电话</span><strong>400- 869- 2012</strong><em></em></li>
							<li>公司地址<br/>
								<strong>深圳市福田区福中路福景大厦中座16楼1602</strong>
									<em class="two"></em></li>
						</ul>
						<div class="fdd-bottom-p">
							<em></em>
							粤ICP备15014326号-1  2014-2015 elvtuan.com All Rights Reserved. 
							 <p>
							 	深圳市律团科技有限公司，禁止非法复制
							 </p>
						</div>
						<div class="fdd-bottom-ios">
							<img src="/img/footer/code.png"><br/>扫码下载律团手机客户端
						</div>
					</div>
				</div>
			</div>
	  </div>
	<div id="loginPopup" style="display:none;">
		<div class="Popup-Public">
			<p class="top-title">登录律团</p>
			<p id="default-tip" class="default-tip"></p>
			<p class="error-tip"></p>
			<div>
				<input id="username" class="itxt username"  type="text" placeholder="邮箱或手机号" onfocus="this.placeholder=''" onblur="this.placeholder='邮箱或手机号'">
			</div>
			<div>
				<input type="password" id="password"  name="password" class="itxt itxt-error password" placeholder="密码" onfocus="this.placeholder=''" onblur="this.placeholder='密码'">
			</div>
			<div class="auth-btn clearfix">
	            <label><input id="isSeve" type="checkbox" value="1" name="remember" class="check" ><span> 记住密码</span></label>
	            <a class="forgotpwdPopup fr forgotpwdlocal" href="{{ route('auth.resetpwd') }}">忘记密码？</a>
	        </div>
	        <div class="auth-reg-a">
	        	<botton type="botton" class="Popupsublogo" style="cursor:pointer">立即登录</botton>
	        </div>
	        {{ Form::token() }}
			<div class="gongzhonghao">
				<div class="iconbox">
					<a class="qqcion" href="https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101302496&redirect_uri=http%3a%2f%2fwww.elvtuan.com%2foauth%2fgetUser&state=qq"></a>
					<a class="wxcion" href="https://open.weixin.qq.com/connect/qrconnect?appid=wx63d6fd4e6ab7880d&redirect_uri=http://www.elvtuan.com/oauth/getUser&response_type=code&scope=snsapi_login&state=wx"></a>
				</div>
			</div>
			<p>
				<span class="colorF">还没有账号? </span> 
		    	<a class="registerPopup registerlocal" href="{{ route('home.register') }}" style="color:#4ab4ff"> 立即创建</a>
			</p>
		</div>
	</div>
	<input type="hidden" class="loginPopup">
	<script type="text/javascript">
		var login_url = '{{ route("home.login") }}';  //登录链接
		var logout_url = '{{ route("home.logout") }}';  //退出登录
		var register_url= '{{ route("home.register") }}'; //注册
		var send_code = '{{ route("send_code") }}';
		var jumpUrl = "{{ Config::get('app.url') }}";  //本地服务器
		var apitest = '{{ Config::get("app.api_url") }}';   //api服务器链接
		var islogin = "{{ Auth::check() }}";   //是否登录
		var login_isLawyer = "@if(Auth::check()){{Auth::user()->isVerifiedLawyer()}}@endif";  //登录用户是否是律师
	</script>
    {{ HTML::script('js/index/layer-v1.9.3/layer/layer.js') }}
	{{ HTML::script('js/index/validate.js') }}
    {{ HTML::script('js/index/index.js') }}
	{{ HTML::script('js/dataCode.js') }}
	{{ HTML::script('js/loginPopup.js') }}
	
    </body>
</html>
